/*
 * Copyright (c) 2016-2021, Hangzhou Qulian Technology Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef _QL_TYPE_H_
#define _QL_TYPE_H_

/* cSDK basic data type definitions */
typedef signed   char                   OhInt8Type;      /**<  8bit integer type */
typedef signed   short                  OhInt16Type;     /**< 16bit integer type */
typedef signed   int                    OhInt32Type;     /**< 32bit integer type */
typedef signed   long long              OhInt64Type;     /**< 64bit integer type */
typedef unsigned char                   OhUint8Type;     /**<  8bit unsigned integer type */
typedef unsigned short                  OhUint16Type;    /**< 16bit unsigned integer type */
typedef unsigned int                    OhUint32Type;    /**< 32bit unsigned integer type */
typedef unsigned long long              OhUint64Type;    /**< 64bit unsigned integer type */

typedef void 			                OhVoidType;      /**< void type */
typedef OhInt32Type                     OhBoolType;      /**< bool type */
typedef OhUint8Type                     OhByteType;      /**< byte type */
typedef OhInt32Type                     OhErrType;       /**< return type */
typedef OhUint32Type                    OhSizeType;

#endif
